QT       += core gui multimedia
QT       += network
QT       += bluetooth


greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

INCLUDEPATH += $$PWD/ffmpeg-master-latest-win64/include
LIBS += $$PWD/ffmpeg-master-latest-win64/lib/avformat.lib   \
        $$PWD/ffmpeg-master-latest-win64/lib/avcodec.lib    \
        $$PWD/ffmpeg-master-latest-win64/lib/avdevice.lib   \
        $$PWD/ffmpeg-master-latest-win64/lib/avfilter.lib   \
        $$PWD/ffmpeg-master-latest-win64/lib/avutil.lib     \
        $$PWD/ffmpeg-master-latest-win64/lib/swresample.lib \
        $$PWD/ffmpeg-master-latest-win64/lib/swscale.lib


# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    camerathread.cpp \
    dialogfaceregister.cpp \
    faceregister.cpp \
    imagewindow.cpp \
    main.cpp \
    mainwindow.cpp \
    observablebool.cpp \
    videowidget.cpp

HEADERS += \
    camerathread.h \
    dialogfaceregister.h \
    faceregister.h \
    imagewindow.h \
    mainwindow.h \
    observablebool.h \
    videowidget.h

FORMS += \
    dialogfaceregister.ui \
    faceregister.ui \
    imagewindow.ui \
    mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
